﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using TomNet.FreeSql.Base;

namespace TomNet.Demo.Entity.Entities
{
    [Description("用户信息表")]
    [Table(Name = "UserInfo")]
    public class UserInfoEntity : EntityLongBase
    {
        public long UserId { get; set; }

        [Description("邮政编码")]
        [Column(StringLength = 10, IsNullable = false)]
        public string Zip { get; set; }
    }
}
